package com.yidu.sanrenxing.crudall.service.impl;

import com.yidu.sanrenxing.crudall.dao.OrderComMsgMapper;
import com.yidu.sanrenxing.crudall.domain.OrderComMsg;
import com.yidu.sanrenxing.crudall.service.OrderComMsgService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class OrderComMsgServiceImpl implements OrderComMsgService {

    @Autowired
    private OrderComMsgMapper orderComMsgMapper;

    @Override
    public List<OrderComMsg> selectAll() {
        return null;
    }

    @Override
    public int deleteByPrimaryKey(int ordercommsgid) {
        return 0;
    }

    @Override
    public int insert(OrderComMsg record) {
        return 0;
    }

    @Override
    public int insertSelective(OrderComMsg record) {
        return orderComMsgMapper.insertSelective(record);
    }

    @Override
    public OrderComMsg selectByPrimaryKey(int ordercommsgid) {
        return null;
    }

    @Override
    public int updateByPrimaryKeySelective(OrderComMsg record) {
        return 0;
    }

    @Override
    public int updateByPrimaryKey(OrderComMsg record) {
        return 0;
    }

    @Override
    public List<OrderComMsg> getOrderComMsgByOrderId(String orderId) {
        return orderComMsgMapper.getOrderComMsgByOrderId(orderId);
    }
}
